# Uncomment this line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['ENABLE_BITCODE'] = 'NO'
        end
    end
end

platform :ios, '9.0'

inhibit_all_warnings!

def react_pods
	
	pod 'React', :path => '../node_modules/react-native',
	:subspecs => [
	'Core',
	'ART',
	'CxxBridge',
	'DevSupport',
	'RCTActionSheet',
	'RCTAnimation',
	'RCTGeolocation',
	'RCTImage',
	'RCTLinkingIOS',
	'RCTNetwork',
	'RCTSettings',
	'RCTText',
	'RCTVibration',
	'RCTWebSocket',
	'RCTBlob',
	'RCTCameraRoll',
	'RCTVibration'
	]
	
	pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
	pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
	pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
	
	
	#pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'
	#pod 'Picker', :path => '../node_modules/react-native-picker'
	#pod 'react-native-fetch-blob', :path => '../node_modules/react-native-fetch-blob'
	#pod 'react-native-plugin-zhugeio', :path => '../node_modules/react-native-plugin-zhugeio'
	#pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
	pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
	#pod 'ZipArchive','1.4.0'
end

target 'reactNativeDemo' do
	
	react_pods
	
    pod 'AFNetworking', '3.2.0'
    pod 'YTKNetwork', '2.0.4'
    pod 'YYModel', '1.0.4'

    #pod 'Bugly', '2.5.0'
    #pod 'MJRefresh', '3.1.15.3'
    #pod 'SDWebImage', '3.7.5'
    #pod 'ZipArchive', '1.4.0'

end

